package lab_08.com.acme.task2;

public class Foo {
	
	protected int iteration;
	
	public Foo(int iteration) {
		super();
		this.iteration = iteration;	
	}

	@Override
	protected void finalize() throws Throwable {
		System.out.format("finalize has been called on object created on iteration %1$d\n",iteration);	
		super.finalize();
	}
}
